package com.oozol.lieluyun.entity;

public class BuildHistory {
   private String commit;
   private String tag;
   private String builder;
   private String publishType;
   private String status;
   private long start;
   private long end;
   private int buildNumber;

   public String getCommit() {
      return this.commit;
   }

   public String getTag() {
      return this.tag;
   }

   public String getBuilder() {
      return this.builder;
   }

   public String getPublishType() {
      return this.publishType;
   }

   public String getStatus() {
      return this.status;
   }

   public long getStart() {
      return this.start;
   }

   public long getEnd() {
      return this.end;
   }

   public int getBuildNumber() {
      return this.buildNumber;
   }

   public void setCommit(final String commit) {
      this.commit = commit;
   }

   public void setTag(final String tag) {
      this.tag = tag;
   }

   public void setBuilder(final String builder) {
      this.builder = builder;
   }

   public void setPublishType(final String publishType) {
      this.publishType = publishType;
   }

   public void setStatus(final String status) {
      this.status = status;
   }

   public void setStart(final long start) {
      this.start = start;
   }

   public void setEnd(final long end) {
      this.end = end;
   }

   public void setBuildNumber(final int buildNumber) {
      this.buildNumber = buildNumber;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof BuildHistory)) {
         return false;
      } else {
         BuildHistory other = (BuildHistory)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$commit = this.getCommit();
            Object other$commit = other.getCommit();
            if (this$commit == null) {
               if (other$commit != null) {
                  return false;
               }
            } else if (!this$commit.equals(other$commit)) {
               return false;
            }

            Object this$tag = this.getTag();
            Object other$tag = other.getTag();
            if (this$tag == null) {
               if (other$tag != null) {
                  return false;
               }
            } else if (!this$tag.equals(other$tag)) {
               return false;
            }

            Object this$builder = this.getBuilder();
            Object other$builder = other.getBuilder();
            if (this$builder == null) {
               if (other$builder != null) {
                  return false;
               }
            } else if (!this$builder.equals(other$builder)) {
               return false;
            }

            Object this$publishType = this.getPublishType();
            Object other$publishType = other.getPublishType();
            if (this$publishType == null) {
               if (other$publishType != null) {
                  return false;
               }
            } else if (!this$publishType.equals(other$publishType)) {
               return false;
            }

            Object this$status = this.getStatus();
            Object other$status = other.getStatus();
            if (this$status == null) {
               if (other$status != null) {
                  return false;
               }
            } else if (!this$status.equals(other$status)) {
               return false;
            }

            if (this.getStart() != other.getStart()) {
               return false;
            } else if (this.getEnd() != other.getEnd()) {
               return false;
            } else if (this.getBuildNumber() != other.getBuildNumber()) {
               return false;
            } else {
               return true;
            }
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof BuildHistory;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $commit = this.getCommit();
      result = result * 59 + ($commit == null ? 43 : $commit.hashCode());
      Object $tag = this.getTag();
      result = result * 59 + ($tag == null ? 43 : $tag.hashCode());
      Object $builder = this.getBuilder();
      result = result * 59 + ($builder == null ? 43 : $builder.hashCode());
      Object $publishType = this.getPublishType();
      result = result * 59 + ($publishType == null ? 43 : $publishType.hashCode());
      Object $status = this.getStatus();
      result = result * 59 + ($status == null ? 43 : $status.hashCode());
      long $start = this.getStart();
      result = result * 59 + (int)($start >>> 32 ^ $start);
      long $end = this.getEnd();
      result = result * 59 + (int)($end >>> 32 ^ $end);
      result = result * 59 + this.getBuildNumber();
      return result;
   }

   public String toString() {
      return "BuildHistory(commit=" + this.getCommit() + ", tag=" + this.getTag() + ", builder=" + this.getBuilder() + ", publishType=" + this.getPublishType() + ", status=" + this.getStatus() + ", start=" + this.getStart() + ", end=" + this.getEnd() + ", buildNumber=" + this.getBuildNumber() + ")";
   }
}
